home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C13 / egcs.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  1.9 KB  |  91 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C13
  7. # using the egcs compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f egcs.makefile
  11.  
  12. CPP = g++
  13. OFLAG = -o
  14. .SUFFIXES : .o .cpp .c
  15. .cpp.o :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17. .c.o :
  18.     $(CPP) $(CPPFLAGS) -c $<
  19.  
  20. all: \
  21.     MallocClass \
  22.     Newdel \
  23.     PStashTest \
  24.     Stack4Test \
  25.     Newhandl \
  26.     GlobalNew \
  27.     Framis \
  28.     ArrayNew \
  29.     NoMemory \
  30.     PlacementNew 
  31.  
  32. test: all 
  33.     MallocClass  
  34.     Newdel  
  35.     PStashTest  
  36.     Stack4Test  
  37.     Newhandl  
  38.     GlobalNew  
  39.     Framis  
  40.     ArrayNew  
  41.     NoMemory  
  42.     PlacementNew  
  43.  
  44. bugs: 
  45.     @echo No compiler bugs in this directory!
  46.  
  47. MallocClass: MallocClass.o 
  48.     $(CPP) $(OFLAG)MallocClass MallocClass.o 
  49.  
  50. Newdel: Newdel.o 
  51.     $(CPP) $(OFLAG)Newdel Newdel.o 
  52.  
  53. PStashTest: PStashTest.o PStash.o 
  54.     $(CPP) $(OFLAG)PStashTest PStashTest.o PStash.o 
  55.  
  56. Stack4Test: Stack4Test.o Stack4.o 
  57.     $(CPP) $(OFLAG)Stack4Test Stack4Test.o Stack4.o 
  58.  
  59. Newhandl: Newhandl.o 
  60.     $(CPP) $(OFLAG)Newhandl Newhandl.o 
  61.  
  62. GlobalNew: GlobalNew.o 
  63.     $(CPP) $(OFLAG)GlobalNew GlobalNew.o 
  64.  
  65. Framis: Framis.o 
  66.     $(CPP) $(OFLAG)Framis Framis.o 
  67.  
  68. ArrayNew: ArrayNew.o 
  69.     $(CPP) $(OFLAG)ArrayNew ArrayNew.o 
  70.  
  71. NoMemory: NoMemory.o 
  72.     $(CPP) $(OFLAG)NoMemory NoMemory.o 
  73.  
  74. PlacementNew: PlacementNew.o 
  75.     $(CPP) $(OFLAG)PlacementNew PlacementNew.o 
  76.  
  77.  
  78. MallocClass.o: MallocClass.cpp ../require.h 
  79. Newdel.o: Newdel.cpp 
  80. PStash.o: PStash.cpp PStash.h 
  81. PStashTest.o: PStashTest.cpp PStash.h ../require.h 
  82. Stack4.o: Stack4.cpp Stack4.h 
  83. Stack4Test.o: Stack4Test.cpp Stack4.h ../require.h 
  84. Newhandl.o: Newhandl.cpp 
  85. GlobalNew.o: GlobalNew.cpp 
  86. Framis.o: Framis.cpp 
  87. ArrayNew.o: ArrayNew.cpp 
  88. NoMemory.o: NoMemory.cpp 
  89. PlacementNew.o: PlacementNew.cpp 
  90.  
  91.